PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Reaction / Liquid Blobby / martin + stahlregen - martin in da mash 11.milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=3 |
| 3 | PSVERSION_WARP=3 |
| 4 | PSVERSION_COMP=3 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=1.980 |
| 8 | fDecay=0.500 |
| 9 | fVideoEchoZoom=1.000 |
| 10 | fVideoEchoAlpha=0.500 |
| 11 | nVideoEchoOrientation=3 |
| 12 | nWaveMode=4 |
| 13 | bAdditiveWaves=1 |
| 14 | bWaveDots=0 |
| 15 | bWaveThick=1 |
| 16 | bModWaveAlphaByVolume=1 |
| 17 | bMaximizeWaveColor=0 |
| 18 | bTexWrap=1 |
| 19 | bDarkenCenter=0 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=0 |
| 22 | bDarken=1 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=0.001 |
| 26 | fWaveScale=0.527 |
| 27 | fWaveSmoothing=0.450 |
| 28 | fWaveParam=0.000 |
| 29 | fModWaveAlphaStart=0.000 |
| 30 | fModWaveAlphaEnd=1.320 |
| 31 | fWarpAnimSpeed=0.010 |
| 32 | fWarpScale=0.010 |
| 33 | fZoomExponent=1.00000 |
| 34 | fShader=0.000 |
| 35 | zoom=1.00183 |
| 36 | rot=0.00000 |
| 37 | cx=0.500 |
| 38 | cy=0.500 |
| 39 | dx=1.00000 |
| 40 | dy=0.00000 |
| 41 | warp=0.01000 |
| 42 | sx=1.00000 |
| 43 | sy=1.00000 |
| 44 | wave_r=0.800 |
| 45 | wave_g=0.490 |
| 46 | wave_b=1.000 |
| 47 | wave_x=0.500 |
| 48 | wave_y=0.500 |
| 49 | ob_size=0.010 |
| 50 | ob_r=0.000 |
| 51 | ob_g=0.000 |
| 52 | ob_b=0.000 |
| 53 | ob_a=0.000 |
| 54 | ib_size=0.010 |
| 55 | ib_r=0.250 |
| 56 | ib_g=0.250 |
| 57 | ib_b=0.250 |
| 58 | ib_a=0.000 |
| 59 | nMotionVectorsX=64.000 |
| 60 | nMotionVectorsY=48.000 |
| 61 | mv_dx=0.000 |
| 62 | mv_dy=0.000 |
| 63 | mv_l=1.850 |
| 64 | mv_r=0.500 |
| 65 | mv_g=0.500 |
| 66 | mv_b=0.500 |
| 67 | mv_a=0.000 |
| 68 | b1n=0.000 |
| 69 | b2n=0.000 |
| 70 | b3n=0.000 |
| 71 | b1x=1.000 |
| 72 | b2x=1.000 |
| 73 | b3x=1.000 |
| 74 | b1ed=0.000 |
| 75 | wavecode_0_enabled=0 |
| 76 | wavecode_0_samples=282 |
| 77 | wavecode_0_sep=20 |
| 78 | wavecode_0_bSpectrum=0 |
| 79 | wavecode_0_bUseDots=0 |
| 80 | wavecode_0_bDrawThick=1 |
| 81 | wavecode_0_bAdditive=1 |
| 82 | wavecode_0_scaling=7.85800 |
| 83 | wavecode_0_smoothing=0.10000 |
| 84 | wavecode_0_r=0.200 |
| 85 | wavecode_0_g=0.300 |
| 86 | wavecode_0_b=1.000 |
| 87 | wavecode_0_a=0.600 |
| 88 | wavecode_1_enabled=0 |
| 89 | wavecode_1_samples=512 |
| 90 | wavecode_1_sep=0 |
| 91 | wavecode_1_bSpectrum=0 |
| 92 | wavecode_1_bUseDots=1 |
| 93 | wavecode_1_bDrawThick=1 |
| 94 | wavecode_1_bAdditive=0 |
| 95 | wavecode_1_scaling=0.89152 |
| 96 | wavecode_1_smoothing=0.82000 |
| 97 | wavecode_1_r=1.000 |
| 98 | wavecode_1_g=1.000 |
| 99 | wavecode_1_b=1.000 |
| 100 | wavecode_1_a=0.100 |
| 101 | wave_1_per_point1=xi = rand(100)/100; |
| 102 | wave_1_per_point2=yi = rand(100)/100; |
| 103 | wave_1_per_point3= |
| 104 | wave_1_per_point4=x = xi; y = yi; |
| 105 | wave_1_per_point5= |
| 106 | wave_1_per_point6=a = q21/15; |
| 107 | wavecode_2_enabled=0 |
| 108 | wavecode_2_samples=512 |
| 109 | wavecode_2_sep=0 |
| 110 | wavecode_2_bSpectrum=0 |
| 111 | wavecode_2_bUseDots=0 |
| 112 | wavecode_2_bDrawThick=1 |
| 113 | wavecode_2_bAdditive=0 |
| 114 | wavecode_2_scaling=0.89152 |
| 115 | wavecode_2_smoothing=0.82000 |
| 116 | wavecode_2_r=0.000 |
| 117 | wavecode_2_g=0.200 |
| 118 | wavecode_2_b=0.000 |
| 119 | wavecode_2_a=1.000 |
| 120 | wavecode_3_enabled=0 |
| 121 | wavecode_3_samples=512 |
| 122 | wavecode_3_sep=0 |
| 123 | wavecode_3_bSpectrum=1 |
| 124 | wavecode_3_bUseDots=1 |
| 125 | wavecode_3_bDrawThick=0 |
| 126 | wavecode_3_bAdditive=0 |
| 127 | wavecode_3_scaling=1.00000 |
| 128 | wavecode_3_smoothing=0.50000 |
| 129 | wavecode_3_r=1.000 |
| 130 | wavecode_3_g=1.000 |
| 131 | wavecode_3_b=1.000 |
| 132 | wavecode_3_a=1.000 |
| 133 | shapecode_0_enabled=0 |
| 134 | shapecode_0_sides=4 |
| 135 | shapecode_0_additive=1 |
| 136 | shapecode_0_thickOutline=0 |
| 137 | shapecode_0_textured=0 |
| 138 | shapecode_0_num_inst=1 |
| 139 | shapecode_0_x=0.500 |
| 140 | shapecode_0_y=0.500 |
| 141 | shapecode_0_rad=0.04896 |
| 142 | shapecode_0_ang=0.00000 |
| 143 | shapecode_0_tex_ang=1.00531 |
| 144 | shapecode_0_tex_zoom=1.53117 |
| 145 | shapecode_0_r=0.000 |
| 146 | shapecode_0_g=1.000 |
| 147 | shapecode_0_b=1.000 |
| 148 | shapecode_0_a=1.000 |
| 149 | shapecode_0_r2=0.830 |
| 150 | shapecode_0_g2=0.930 |
| 151 | shapecode_0_b2=0.800 |
| 152 | shapecode_0_a2=0.000 |
| 153 | shapecode_0_border_r=1.000 |
| 154 | shapecode_0_border_g=1.000 |
| 155 | shapecode_0_border_b=0.000 |
| 156 | shapecode_0_border_a=0.000 |
| 157 | shape_0_per_frame1= |
| 158 | shape_0_per_frame2=trel = time/3; |
| 159 | shape_0_per_frame3= |
| 160 | shape_0_per_frame4=x = .5+sin(trel*2); |
| 161 | shape_0_per_frame5=y = .5+cos(trel*1.3); |
| 162 | shape_0_per_frame6= |
| 163 | shape_0_per_frame7= |
| 164 | shape_0_per_frame8= |
| 165 | shape_0_per_frame9= |
| 166 | shape_0_per_frame10=rad = .1; |
| 167 | shape_0_per_frame11=a = .8; |
| 168 | shapecode_1_enabled=0 |
| 169 | shapecode_1_sides=4 |
| 170 | shapecode_1_additive=0 |
| 171 | shapecode_1_thickOutline=1 |
| 172 | shapecode_1_textured=1 |
| 173 | shapecode_1_num_inst=1 |
| 174 | shapecode_1_x=0.260 |
| 175 | shapecode_1_y=0.200 |
| 176 | shapecode_1_rad=0.39317 |
| 177 | shapecode_1_ang=0.00000 |
| 178 | shapecode_1_tex_ang=0.00000 |
| 179 | shapecode_1_tex_zoom=0.93550 |
| 180 | shapecode_1_r=0.000 |
| 181 | shapecode_1_g=0.550 |
| 182 | shapecode_1_b=0.500 |
| 183 | shapecode_1_a=1.000 |
| 184 | shapecode_1_r2=0.000 |
| 185 | shapecode_1_g2=0.400 |
| 186 | shapecode_1_b2=0.400 |
| 187 | shapecode_1_a2=0.070 |
| 188 | shapecode_1_border_r=0.300 |
| 189 | shapecode_1_border_g=0.700 |
| 190 | shapecode_1_border_b=0.800 |
| 191 | shapecode_1_border_a=0.400 |
| 192 | shape_1_per_frame1=tex_zoom = q27; |
| 193 | shapecode_2_enabled=0 |
| 194 | shapecode_2_sides=44 |
| 195 | shapecode_2_additive=0 |
| 196 | shapecode_2_thickOutline=0 |
| 197 | shapecode_2_textured=0 |
| 198 | shapecode_2_num_inst=1 |
| 199 | shapecode_2_x=0.503 |
| 200 | shapecode_2_y=0.500 |
| 201 | shapecode_2_rad=0.03886 |
| 202 | shapecode_2_ang=0.00000 |
| 203 | shapecode_2_tex_ang=0.00000 |
| 204 | shapecode_2_tex_zoom=0.60986 |
| 205 | shapecode_2_r=1.000 |
| 206 | shapecode_2_g=0.100 |
| 207 | shapecode_2_b=0.000 |
| 208 | shapecode_2_a=0.900 |
| 209 | shapecode_2_r2=1.000 |
| 210 | shapecode_2_g2=1.000 |
| 211 | shapecode_2_b2=1.000 |
| 212 | shapecode_2_a2=0.000 |
| 213 | shapecode_2_border_r=0.500 |
| 214 | shapecode_2_border_g=0.500 |
| 215 | shapecode_2_border_b=1.000 |
| 216 | shapecode_2_border_a=0.000 |
| 217 | shape_2_per_frame1=x = rand(50)/50; |
| 218 | shape_2_per_frame2=y = .5; |
| 219 | shape_2_per_frame3= |
| 220 | shape_2_per_frame4=r = .4; |
| 221 | shape_2_per_frame5=g = .6; |
| 222 | shape_2_per_frame6=b = 1; |
| 223 | shape_2_per_frame7=r2 = r; |
| 224 | shape_2_per_frame8=g2 = g; |
| 225 | shape_2_per_frame9=b2 = b; |
| 226 | shape_2_per_frame10= |
| 227 | shape_2_per_frame11=a2 = min(q21/2 ,1)/2; |
| 228 | shape_2_per_frame12= |
| 229 | shape_2_per_frame13=a = 0; |
| 230 | shape_2_per_frame14= |
| 231 | shape_2_per_frame15=rad = a2 * (.1+abs(x-.5))/2 ; |
| 232 | shapecode_3_enabled=0 |
| 233 | shapecode_3_sides=4 |
| 234 | shapecode_3_additive=0 |
| 235 | shapecode_3_thickOutline=1 |
| 236 | shapecode_3_textured=1 |
| 237 | shapecode_3_num_inst=1 |
| 238 | shapecode_3_x=0.260 |
| 239 | shapecode_3_y=0.760 |
| 240 | shapecode_3_rad=0.39478 |
| 241 | shapecode_3_ang=0.00000 |
| 242 | shapecode_3_tex_ang=0.00000 |
| 243 | shapecode_3_tex_zoom=0.49981 |
| 244 | shapecode_3_r=1.000 |
| 245 | shapecode_3_g=1.000 |
| 246 | shapecode_3_b=1.000 |
| 247 | shapecode_3_a=1.000 |
| 248 | shapecode_3_r2=1.000 |
| 249 | shapecode_3_g2=1.000 |
| 250 | shapecode_3_b2=1.000 |
| 251 | shapecode_3_a2=0.800 |
| 252 | shapecode_3_border_r=0.200 |
| 253 | shapecode_3_border_g=0.700 |
| 254 | shapecode_3_border_b=0.500 |
| 255 | shapecode_3_border_a=1.000 |
| 256 | shape_3_per_frame1=tex_zoom = q27/2; |
| 257 | per_frame_init_1=shift = 0; |
| 258 | per_frame_init_2=step = 0; |
| 259 | per_frame_1=dec_med = pow (0.8, 30/fps); |
| 260 | per_frame_2=dec_slow = pow (0.99, 30/fps); |
| 261 | per_frame_3=beat = max (max (bass, mid), treb); |
| 262 | per_frame_4=avg = avg*dec_slow + beat*(1-dec_slow); |
| 263 | per_frame_5=is_beat = above(beat, .4+avg+peak) * above (time, t0+.2); |
| 264 | per_frame_6=t0 = is_beat*time + (1-is_beat)*t0; |
| 265 | per_frame_7=peak = is_beat * beat + (1-is_beat)*peak*dec_med; |
| 266 | per_frame_8=index = (index + is_beat) %4; |
| 267 | per_frame_9=index2 = (index2 + is_beat*bnot(index))%4; |
| 268 | per_frame_10= |
| 269 | per_frame_11= |
| 270 | per_frame_12=q20 = avg; |
| 271 | per_frame_13=q21 = beat; |
| 272 | per_frame_14=q22 = peak; |
| 273 | per_frame_15=q23 = index; |
| 274 | per_frame_16=q24 = is_beat; |
| 275 | per_frame_17=q26 = bass_att + mid_att + treb_att; |
| 276 | per_frame_18= |
| 277 | per_frame_19=ready = is_beat * bnot(ready) + bnot(is_beat2)*ready; |
| 278 | per_frame_20=is_beat2 = ready * above (time, t0+.2); |
| 279 | per_frame_21=q19 = is_beat2; |
| 280 | per_frame_22= |
| 281 | per_frame_23=//k1 = is_beat*bnot(index)*bnot(index2); |
| 282 | per_frame_24= |
| 283 | per_frame_25=k1 = is_beat*equal(index,0); |
| 284 | per_frame_26=p1 = k1*(p1+1) + (1-k1)*p1; |
| 285 | per_frame_27=p2 = dec_med * p2+ (1-dec_med)*p1; |
| 286 | per_frame_28=rott = p2 * 3.14159265359/2; |
| 287 | per_frame_29= |
| 288 | per_frame_30=q27 = index+1; |
| 289 | per_frame_31=q28 = index2+1; |
| 290 | per_frame_32= |
| 291 | per_frame_33=q1 = cos(rott); |
| 292 | per_frame_34=q2 = sin(rott); |
| 293 | per_frame_35=q3 = -q2; |
| 294 | per_frame_36=q4 = q1; |
| 295 | per_frame_37= |
| 296 | per_frame_38=movex = movex +.002*30/fps; |
| 297 | per_frame_39=q30 = movex; |
| 298 | per_frame_40= |
| 299 | per_frame_41=alt = alt * (1-dec_med) + q26*dec_med; |
| 300 | per_frame_42=q26 = q26 - alt; |
| 301 | per_frame_43=step = step + 1*max(q26,0) + q24 -int(step); |
| 302 | per_frame_44=q30 = step; |
| 303 | per_frame_45=q30 = movex; |
| 304 | per_frame_46= |
| 305 | per_frame_47=lx = lx + .001*30/fps; |
| 306 | per_frame_48=ly = ly + .01*30/fps*q2; |
| 307 | per_frame_49=q10 = lx; |
| 308 | per_frame_50=q11 = 0; |
| 309 | per_frame_51= |
| 310 | per_frame_52= |
| 311 | per_frame_53=zoom = (1.0 + .0*rad); |
| 312 | per_frame_54=dx = .0; |
| 313 | per_frame_55=dy = .00; |
| 314 | per_frame_56=rot = .1*q1; |
| 315 | warp_1=`float3 color; |
| 316 | warp_2=`float2 uv2, zz; |
| 317 | warp_3=`float dx, dy; |
| 318 | warp_4=`shader_body { |
| 319 | warp_5=` |
| 320 | warp_6=`float2 uv1 = (uv-.5)*aspect.xy; |
| 321 | warp_7=` |
| 322 | warp_8=`float2 hor = float2 (texsize.w,0); |
| 323 | warp_9=`float2 ver = float2 (0,texsize.z); |
| 324 | warp_10=` |
| 325 | warp_11=` |
| 326 | warp_12=`float2 k1 = float2((uv.x), (uv.y)); |
| 327 | warp_13=` |
| 328 | warp_14=`float3 ret1 = GetBlur1(uv) ; |
| 329 | warp_15=` |
| 330 | warp_16=`zz = uv.xy * texsize.xy *(.01); |
| 331 | warp_17=`float h1 = (cos(zz.y*q1) * sin(-zz.y)); |
| 332 | warp_18=`float h2 = (sin(zz.x) * cos(zz.y*q2)); |
| 333 | warp_19=`uv.xy -= float2(h1,h2)*texsize.zw * (8+6*q11); |
| 334 | warp_20=` |
| 335 | warp_21=`uv2 = uv/2*q27/4; //variieren |
| 336 | warp_22=` |
| 337 | warp_23=`float2 uv3 = uv2; //Krausen nur mit uv |
| 338 | warp_24=` |
| 339 | warp_25=`dx = lum(GetPixel(uv3+hor) - GetPixel(uv3-hor)); |
| 340 | warp_26=`dy = lum(GetPixel(uv3+ver) - GetPixel(uv3-ver)); |
| 341 | warp_27=` |
| 342 | warp_28=`//dx = 0; dy = 0; |
| 343 | warp_29=` |
| 344 | warp_30=`dx *=1; dy *= 1;; |
| 345 | warp_31=`float f1 = .15+.1*q28; |
| 346 | warp_32=`float2 uv4 = uv2+time/100; |
| 347 | warp_33=` |
| 348 | warp_34=`dx += f1*(tex2D(sampler_noise_hq,uv4).x-.5); |
| 349 | warp_35=`dy += f1*(tex2D(sampler_noise_hq,uv4).y-.5); |
| 350 | warp_36=` |
| 351 | warp_37=`color = .9+.1*roam_cos; |
| 352 | warp_38=` |
| 353 | warp_39=`float2 dz = float2 (dx,dy); |
| 354 | warp_40=` |
| 355 | warp_41=`zz = dz; |
| 356 | warp_42=` |
| 357 | warp_43=`float3 crisp= tex2D(sampler_main,uv+zz*.04); |
| 358 | warp_44=`float3 crisp2 = tex2D(sampler_main,uv); |
| 359 | warp_45=`crisp += crisp2; |
| 360 | warp_46=`crisp *= .5; |
| 361 | warp_47=`crisp +=.05*color - length(zz)*.3; |
| 362 | warp_48=` |
| 363 | warp_49=`ret1 = crisp; |
| 364 | warp_50=`ret = ret1 * .97 - .015 ; |
| 365 | warp_51=`} |
| 366 | comp_1=`float3 ret1, neu, dx, dy; |
| 367 | comp_2=`float2 rs,rs2,uv1,uv2, uv3,uv4,dz; |
| 368 | comp_3=`shader_body |
| 369 | comp_4=`{ |
| 370 | comp_5=`float2 uv2; |
| 371 | comp_6=`float ang2, c, s; |
| 372 | comp_7=`uv -= 0.5; |
| 373 | comp_8=`//uv *= aspect.xy; |
| 374 | comp_9=`dz = 0; |
| 375 | comp_10=`float2 tmp = uv; |
| 376 | comp_11=`float dist = 1; |
| 377 | comp_12=`float inten = 1; |
| 378 | comp_13=`float mask = 0; |
| 379 | comp_14=`ret1 = 0; |
| 380 | comp_15=`int anz = 4; |
| 381 | comp_16=`float n = 0; |
| 382 | comp_17=`while (n <= anz) { |
| 383 | comp_18=` ang2 = 6.28*n/anz; |
| 384 | comp_19=` dist = 1-frac(.2*n+time/4); //evtl sqrt !; |
| 385 | comp_20=` |
| 386 | comp_21=` inten = sqrt(dist)*(1-dist)*2; |
| 387 | comp_22=` |
| 388 | comp_23=` uv3 = 2*uv*dist + .4 + float2(time/8,0); |
| 389 | comp_24=` neu = GetPixel(uv3); |
| 390 | comp_25=` dz.x += inten*lum(GetPixel(uv3+float2(texsize.z,0)) |
| 391 | comp_26=` - GetPixel (uv3-float2(texsize.z,0))); |
| 392 | comp_27=` dz.y += inten*lum(GetPixel(uv3+float2(0,texsize.w)) |
| 393 | comp_28=` - GetPixel (uv3-float2(0,texsize.w))); |
| 394 | comp_29=` ret1 = max(ret1,neu*inten) ; |
| 395 | comp_30=`n++; |
| 396 | comp_31=`} |
| 397 | comp_32=` |
| 398 | comp_33=` |
| 399 | comp_34=`//clouds |
| 400 | comp_35=`uv += dz*14; |
| 401 | comp_36=`uv4 = uv-float2 (0.2,-.1); |
| 402 | comp_37=`float z = .5*clamp(1/(abs(uv.y)+.1),0,12); |
| 403 | comp_38=`rs = float2(uv.x * z, z); |
| 404 | comp_39=`float3 clouds = lum(tex2D (sampler_noise_hq,rs+.04*time)); |
| 405 | comp_40=`clouds *= saturate(1-12*uv.y) * 0.1/(.03+length(uv4)); |
| 406 | comp_41=` |
| 407 | comp_42=`float3 sky = .1*float3 (0,0,saturate(1-3*uv.y)); |
| 408 | comp_43=`ret = .1*float3(0,1,1)+ sky; |
| 409 | comp_44=`ret += clouds; |
| 410 | comp_45=` |
| 411 | comp_46=`ret += .4*ret1+.25*q22*ret1; |
| 412 | comp_47=` |
| 413 | comp_48=`} |